package com.whli.autumn.mall.wms.enums;

/**
 * <p>质量枚举</p>
 *
 * @author whli
 * @version 1.0.0
 * @since 2023/5/27 10:43
 */
public enum QualityEnum {
    TO_CHECK("0", "待验"),
    PASS("1", "合格"),
    FAIL("-1", "不合格")
    ;

    /** 质量编码 */
    private String code;

    /** 质量名称 */
    private String name;

    QualityEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
